﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>
        @if (!string.IsNullOrWhiteSpace(ViewBag.Title))
        {
            @ViewBag.Title@: -
        }
        Quản lý học sinh
    </title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link href="~/Content/css/font-awesome.min.css" rel="stylesheet">
    <link href="~/Content/css/icheck/blue.min.css" rel="stylesheet">
    <script src="@RouteJs.RouteJsHandler.HandlerUrl"></script>
    @Styles.Render("~/Bundles/css")
    @Scripts.Render("~/Bundles/js")
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link href="~/Scripts/plugins/tablesaw/tablesaw.css" rel="stylesheet" />
    <script src="~/Scripts/plugins/tablesaw/tablesaw.jquery.js"></script>
    <script src="~/Scripts/plugins/tablesaw/tablesaw-init.js"></script>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    @Html.Partial("_Header")
    @Html.Partial("_Sidebar")

    <div class="content-wrapper">
        <section class="content-header">
            <h1>
                @ViewBag.Title
                <small>@ViewBag.Description</small>
            </h1>
        </section>

        <section class="content">
            @RenderBody()
        </section>
    </div>

    @Html.Partial("_ControlSidebar")
   
</div>
<script type="text/javascript">
    function LogOff() {
        const formLogOff = `<form action="@Url.Action("LogOff", "Account")" method="post" id="logoffForm" style="display: none;">
                        @Html.AntiForgeryToken()
                        </form>`;
        $('body').append(formLogOff);
        $('#logoffForm').trigger('submit');
    }
</script>
</body>
</html>